<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/common.jsp"%>
<html>
<head>
<title>我的申请查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet"
	href="${pageContext.request.contextPath}/css/blue/pageCommon.css" />
<script type="text/javascript">
	
</script>
</head>
<body>

	<div id="Title_bar">
		<div id="Title_bar_Head">
			<div id="Title_Head"></div>
			<div id="Title">
				<!--页面标题-->
				<img border="0" width="13" height="13"
					src="${pageContext.request.contextPath}/css/images/title_arrow.gif" />
				我的申请查询
			</div>
			<div id="Title_End"></div>
		</div>
	</div>


	<div id="QueryArea">
		<div style="height: 30px">
			<form action="#">
				<table border=0 cellspacing=3 cellpadding=5>
					<tr>
						<td>按条件查询：</td>
						<td><select name="formTemplateId" class="SelectStyle">
								<option value="">查看全部模板</option>
								<option value="0">领款单</option>
								<option value="10">工作报告</option>
								<option value="13">设备采购单</option>
								<option value="21">员工请假单</option>
								<option value="22">加班申请</option>
						</select>
						</td>
						<td><select name="status" class="SelectStyle">
								<option value="">查看全部状态</option>
								<option value="1">审批中</option>
								<option value="2">未通过</option>
								<option value="3">已通过</option>
						</select>
						</td>
						<td><a href=""><input type="IMAGE"
								src="${pageContext.request.contextPath}/css/blue/images/button/query.PNG" />
						</a></td>
					</tr>
				</table>
			</form>
		</div>
	</div>

	<div id="MainArea">
		<table cellspacing="0" cellpadding="0" class="TableStyle">
			<!-- 表头-->
			<thead>
				<tr align="CENTER" valign="MIDDLE" id="TableTitle">
					<td width="250px">标题</td>
					<td width="115px">申请人</td>
					<td width="115px">申请日期</td>
					<td width="115px">当前状态</td>
					<td>相关操作</td>
				</tr>
			</thead>

			<!--显示数据列表：被退回的我的表的单显示示例
		<tbody id="TableData" class="dataContainer" datakey="formList">
			-->
			<!-- 被退回的我的表的单显示示例 
			<tr class="TableDetail1 template">
				<td><a href="../Flow_Formflow/showForm.html">${form.title}</a></td>
				<td>${form.applicant.name}&nbsp;</td>
				<td>${form.applyTime}&nbsp;</td>
				<td>审批中&nbsp;</td>
				<td><a href="../Flow_Formflow/showForm.html">查看申请信息</a>
					<a href="../Flow_Formflow/approvedHistory.html">查看流转记录</a>
					<a href="../Flow_Formflow/editAndResubmitUI.html">修改后再次提交</a>
					<a href="#" onClick="return delConfirm()">删除</a>
				</td>
			</tr>
		</tbody>
		-->

			<!--显示数据列表：正在审批或审批完成的表单显示示例-->
			<tbody id="TableData" class="dataContainer" datakey="formList">
				<!-- 正在审批或审批完成的表单显示示例 -->
				<s:iterator value="myAppList" id="form">
					<tr class="TableDetail1 template">
						<td><s:a action="workFlowAction_showForm.do?fid=%{fid}">
								<s:property value="title" />
							</s:a></td>
						<td><s:property value="applicator" />&nbsp;</td>
						<td><s:property value="applicatetime" />&nbsp;</td>
						<td>
							<s:property value="state"/>
						</td>
						<td><s:a action="workFlowAction_showForm.do?fid=%{fid}">查看申请信息</s:a>
							<s:a action="workFlowAction_historyApprovedList.do?fid=%{fid}">查看流转记录</s:a>
						</td>
					</tr>
				</s:iterator>
			</tbody>
		</table>

		<!-- 其他功能超链接 -->
		<div id="TableTail">
			<div id="TableTail_inside"></div>
		</div>
	</div>

	<!--分页信息-->
	<div id=PageSelectorBar>
		<div id=PageSelectorMemo>页次：7/13页 &nbsp; 每页显示：30条 &nbsp;
			总记录数：385条</div>
		<div id=PageSelectorSelectorArea>
			<!--
		<IMG SRC="${pageContext.request.contextPath}/css/blue/images/pageSelector/firstPage2.png"/>
		-->
			<a href="javascript:void(0)" title="首页" style="cursor: hand;"> <img
				src="${pageContext.request.contextPath}/css/blue/images/pageSelector/firstPage.png" />
			</a> <span class="PageSelectorNum" style="cursor: hand;"
				onClick="gotoPageNum(2);">3</span> <span class="PageSelectorNum"
				style="cursor: hand;" onClick="gotoPageNum(2);">4</span> <span
				class="PageSelectorNum" style="cursor: hand;"
				onClick="gotoPageNum(2);">5</span> <span class="PageSelectorNum"
				style="cursor: hand;" onClick="gotoPageNum(2);">6</span> <span
				class="PageSelectorNum PageSelectorSelected">7</span> <span
				class="PageSelectorNum" style="cursor: hand;"
				onClick="gotoPageNum(2);">8</span> <span class="PageSelectorNum"
				style="cursor: hand;" onClick="gotoPageNum(2);">9</span> <span
				class="PageSelectorNum" style="cursor: hand;"
				onClick="gotoPageNum(2);">10</span> <span class="PageSelectorNum"
				style="cursor: hand;" onClick="gotoPageNum(2);">11</span> <span
				class="PageSelectorNum" style="cursor: hand;"
				onClick="gotoPageNum(2);">12</span>

			<!--
		<IMG SRC="${pageContext.request.contextPath}/css/blue/images/pageSelector/lastPage2.png"/>
		-->
			<a href="#" title="尾页" style="cursor: hand;"> <img
				src="${pageContext.request.contextPath}/css/blue/images/pageSelector/lastPage.png" />
			</a> 转到： <input onFocus="this.select();" maxlength="2" class="inputStyle"
				type="text" value="1" name="currPage" tabindex="0" /> <input
				type="submit" name="goBtn" value="Go" class="MiddleButtonStyle" />
		</div>
	</div>

	<div class="Description">
		说明：<br />
		<!--
	1，对于退回的表单，可以执行“修改后再次提交”与“删除”的操作。<br />&nbsp;&nbsp;
	   其他状态表单（正在审批的或是审批完成的）则没有这两个操作。<br />
	   2，删除退回的申请文档后，此文档相关的审批信息也要同时删除，对应的流程也终止了。<br />
	   -->
	</div>

</body>
</html>
